package model.security;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * UsrAuth entity. @author MyEclipse Persistence Tools
 */

public class UsrAuth implements java.io.Serializable {

	// Fields

	private Integer authid;
	private String authname;
	private String authdesc;
	private String reslink;
	private Boolean enabled;
	private Boolean isadmin;
	private Timestamp createtime;
	private Integer parent;
	private Integer level;
	private Integer order;
	private Set usrRoleAuths = new HashSet(0);

	// Constructors

	/** default constructor */
	public UsrAuth() {
	}

	/** full constructor */
	public UsrAuth(String authname, String authdesc, String reslink,
			Boolean enabled, Boolean isadmin, Timestamp createtime,
			Integer parent, Integer level, Integer order, Set usrRoleAuths) {
		this.authname = authname;
		this.authdesc = authdesc;
		this.reslink = reslink;
		this.enabled = enabled;
		this.isadmin = isadmin;
		this.createtime = createtime;
		this.parent = parent;
		this.level = level;
		this.order = order;
		this.usrRoleAuths = usrRoleAuths;
	}

	// Property accessors

	public Integer getAuthid() {
		return this.authid;
	}

	public void setAuthid(Integer authid) {
		this.authid = authid;
	}

	public String getAuthname() {
		return this.authname;
	}

	public void setAuthname(String authname) {
		this.authname = authname;
	}

	public String getAuthdesc() {
		return this.authdesc;
	}

	public void setAuthdesc(String authdesc) {
		this.authdesc = authdesc;
	}

	public String getReslink() {
		return this.reslink;
	}

	public void setReslink(String reslink) {
		this.reslink = reslink;
	}

	public Boolean getEnabled() {
		return this.enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Boolean getIsadmin() {
		return this.isadmin;
	}

	public void setIsadmin(Boolean isadmin) {
		this.isadmin = isadmin;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public Integer getParent() {
		return this.parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getOrder() {
		return this.order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public Set getUsrRoleAuths() {
		return this.usrRoleAuths;
	}

	public void setUsrRoleAuths(Set usrRoleAuths) {
		this.usrRoleAuths = usrRoleAuths;
	}

}